\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread}{\section{Bluetooth\-Chat\-Service.\-Accept\-Thread Class Reference}
\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread}\index{Bluetooth\-Chat\-Service.\-Accept\-Thread@{Bluetooth\-Chat\-Service.\-Accept\-Thread}}
}


Collaboration diagram for Bluetooth\-Chat\-Service.\-Accept\-Thread\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=252pt]{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a87e04948833d0fd4826daa3f527b2153}{Accept\-Thread} ()
\item 
void \hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a13a43e6d814de94978c515cb084873b1}{run} ()
\item 
void \hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a02d5fa6b14e221f3012a794b905be166}{cancel} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
final Bluetooth\-Server\-Socket \hyperlink{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a0b04e3279c0cd8ff1bc19ab19c7539d9}{mm\-Server\-Socket}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This thread runs while listening for incoming connections. It behaves like a server-\/side client. It runs until a connection is accepted (or until cancelled). 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a87e04948833d0fd4826daa3f527b2153}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}!Accept\-Thread@{Accept\-Thread}}
\index{Accept\-Thread@{Accept\-Thread}!com::example::android::BluetoothChat::BluetoothChatService::AcceptThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}}
\subsubsection[{Accept\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Accept\-Thread} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a87e04948833d0fd4826daa3f527b2153}


\subsection{Member Function Documentation}
\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a02d5fa6b14e221f3012a794b905be166}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}!cancel@{cancel}}
\index{cancel@{cancel}!com::example::android::BluetoothChat::BluetoothChatService::AcceptThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}}
\subsubsection[{cancel}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf cancel} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a02d5fa6b14e221f3012a794b905be166}


Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a02d5fa6b14e221f3012a794b905be166_icgraph}
\end{center}
\end{figure}


\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a13a43e6d814de94978c515cb084873b1}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}!run@{run}}
\index{run@{run}!com::example::android::BluetoothChat::BluetoothChatService::AcceptThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}}
\subsubsection[{run}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf run} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a13a43e6d814de94978c515cb084873b1}


Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a13a43e6d814de94978c515cb084873b1_cgraph}
\end{center}
\end{figure}




\subsection{Field Documentation}
\hypertarget{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a0b04e3279c0cd8ff1bc19ab19c7539d9}{\index{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}!mm\-Server\-Socket@{mm\-Server\-Socket}}
\index{mm\-Server\-Socket@{mm\-Server\-Socket}!com::example::android::BluetoothChat::BluetoothChatService::AcceptThread@{com\-::example\-::android\-::\-Bluetooth\-Chat\-::\-Bluetooth\-Chat\-Service\-::\-Accept\-Thread}}
\subsubsection[{mm\-Server\-Socket}]{\setlength{\rightskip}{0pt plus 5cm}final Bluetooth\-Server\-Socket {\bf mm\-Server\-Socket}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classcom_1_1example_1_1android_1_1_bluetooth_chat_1_1_bluetooth_chat_service_1_1_accept_thread_a0b04e3279c0cd8ff1bc19ab19c7539d9}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Code/\-L\-A\-S\-A\-R/\-Android/\-L\-A\-S\-A\-R Control/src/com/example/android/\-Bluetooth\-Chat/\hyperlink{_bluetooth_chat_service_8java}{Bluetooth\-Chat\-Service.\-java}\end{DoxyCompactItemize}
